package com.jinzhi.oss.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * 阿里云上传OSS接口
 */
public interface OssService {
    //系统自定义存储URL路径(不加uuid前缀的)
    String uploadFileOssNoPrefix(MultipartFile file);

    //系统自定义存储URL路径
    String uploadFileOss(MultipartFile file);

    //系统自定义存储URL路径
    String uploadFileOssDeclare(MultipartFile file,String name);

    String uploadFileOss2(MultipartFile file);

    //存储到指定的OSS路径中
    String uploadUrlFileOss(MultipartFile file,String url);

    //系统自定义存储URL路径
    String uploadFileOssName(MultipartFile file);


}
